package com.example.demo.repo

import com.example.demo.entity.Artwork
import com.example.demo.entity.ArtworkCelebrityTitle
import com.example.demo.entity.Celebrity
import org.springframework.data.jpa.repository.JpaRepository

interface CelebrityRepo : JpaRepository<Celebrity, Long> {
    fun findByNameContains(name: String): List<Celebrity>
    fun findByName(name: String): List<Celebrity>
}

